type runtime.chunkIdx
17 uses
runtime (current package)
mgcscavenge.go#L732: func (p *pageAlloc) scavengeOne(ci chunkIdx, searchIdx uint, max uintptr) uintptr {
mgcscavenge.go#L1087: func (s *scavengeIndex) find(force bool) (chunkIdx, uint) {
mgcscavenge.go#L1100: min := chunkIdx(s.minHeapIdx.Load())
mgcscavenge.go#L1141: func (s *scavengeIndex) alloc(ci chunkIdx, npages uint) {
mgcscavenge.go#L1161: func (s *scavengeIndex) free(ci chunkIdx, page, npages uint) {
mgcscavenge.go#L1201: func (s *scavengeIndex) setEmpty(ci chunkIdx) {
mgcscavenge.go#L1211: func (s *scavengeIndex) setNoHugePage(ci chunkIdx) {
mpagealloc.go#L102: type chunkIdx uint
mpagealloc.go#L106: func chunkIndex(p uintptr) chunkIdx {
mpagealloc.go#L107: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L111: func chunkBase(ci chunkIdx) uintptr {
mpagealloc.go#L122: func (i chunkIdx) l1() uint {
mpagealloc.go#L133: func (i chunkIdx) l2() uint {
mpagealloc.go#L255: start, end chunkIdx
mpagealloc.go#L338: func (p *pageAlloc) tryChunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L349: func (p *pageAlloc) chunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L842: ci := chunkIdx(i)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |